package sf.dao.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TEmail entity. @author MyEclipse Persistence Tools
 */

public class TEmail implements java.io.Serializable {

	// Fields

	private Integer nemailid;
	private String sendid;
	private String stitle;
	private Date senddate;
	private Integer nisfile;
	private String scontent;
	private Integer nemailmode;
	private Set<TEmailFile> tEmailFiles = new HashSet<TEmailFile>();
	private Set<TReceiveemail> tReceiveemails = new HashSet<TReceiveemail>();

	// Constructors

	/** default constructor */
	public TEmail() {
	}

	/** full constructor */
	public TEmail(String sendid, String stitle, Date senddate, Integer nisfile,
			String scontent, Integer nemailmode, Set<TEmailFile> tEmailFiles,
			Set<TReceiveemail> tReceiveemails) {
		this.sendid = sendid;
		this.stitle = stitle;
		this.senddate = senddate;
		this.nisfile = nisfile;
		this.scontent = scontent;
		this.nemailmode = nemailmode;
		this.tEmailFiles = tEmailFiles;
		this.tReceiveemails = tReceiveemails;
	}

	// Property accessors

	public Integer getNemailid() {
		return this.nemailid;
	}

	public void setNemailid(Integer nemailid) {
		this.nemailid = nemailid;
	}

	public String getSendid() {
		return this.sendid;
	}

	public void setSendid(String sendid) {
		this.sendid = sendid;
	}

	public String getStitle() {
		return this.stitle;
	}

	public void setStitle(String stitle) {
		this.stitle = stitle;
	}

	public Date getSenddate() {
		return this.senddate;
	}

	public void setSenddate(Date senddate) {
		this.senddate = senddate;
	}

	public String getScontent() {
		return this.scontent;
	}

	public void setScontent(String scontent) {
		this.scontent = scontent;
	}

	public Set<TEmailFile> gettEmailFiles() {
		return tEmailFiles;
	}

	public void settEmailFiles(Set<TEmailFile> tEmailFiles) {
		this.tEmailFiles = tEmailFiles;
	}

	public Set<TReceiveemail> gettReceiveemails() {
		return tReceiveemails;
	}

	public void settReceiveemails(Set<TReceiveemail> tReceiveemails) {
		this.tReceiveemails = tReceiveemails;
	}

	public Integer getNisfile() {
		return nisfile;
	}

	public void setNisfile(Integer nisfile) {
		this.nisfile = nisfile;
	}

	public Integer getNemailmode() {
		return nemailmode;
	}

	public void setNemailmode(Integer nemailmode) {
		this.nemailmode = nemailmode;
	}

}